package pers.cj.pdos.entity;

import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author chenj
 * @since 2020-04-13
 */
public class HouseOut extends Model<HouseOut> {

    private static final long serialVersionUID = 1L;

    private String id;

    /**
     * 是否关闭
     */
    private Boolean close;

    /**
     * 仓库id
     */
    private String houseId;

    /**
     * 单号
     */
    private String no;

    /**
     * 待出库单id
     */
    private String houseWaitOutId;

    /**
     * 1进货退货 2-销售 3-调拨 4-借出 5-借入归还
     */
    private Integer type;

    /**
     * 进货单id
     */
    private String inGoodsRefundId;

    /**
     * 销售退货id
     */
    private String saleId;

    /**
     * 调拨单id
     */
    private String goodsTransferId;

    /**
     * 借出单id
     */
    private String borrowOutId;

    /**
     * 借入归还单id
     */
    private String borrowInBackId;

    /**
     * 物流公司
     */
    private String deliveryOrg;

    /**
     * 物流单号
     */
    private String deliveryNo;

    /**
     * 支付运费
     */
    private BigDecimal deliveryAmt;

    /**
     * 支付账户
     */
    private String settAccountId;

    /**
     * 制单人id
     */
    private String makeUserId;

    /**
     * 制单时间
     */
    private Date makeTime;

    /**
     * 经办人
     */
    private String userId;

    /**
     * 业务日期
     */
    private Date date;

    /**
     * 备注
     */
    private String remark;

    private Date time;

    private String companyId;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
    public Boolean getClose() {
        return close;
    }

    public void setClose(Boolean close) {
        this.close = close;
    }
    public String getHouseId() {
        return houseId;
    }

    public void setHouseId(String houseId) {
        this.houseId = houseId;
    }
    public String getNo() {
        return no;
    }

    public void setNo(String no) {
        this.no = no;
    }
    public String getHouseWaitOutId() {
        return houseWaitOutId;
    }

    public void setHouseWaitOutId(String houseWaitOutId) {
        this.houseWaitOutId = houseWaitOutId;
    }
    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }
    public String getInGoodsRefundId() {
        return inGoodsRefundId;
    }

    public void setInGoodsRefundId(String inGoodsRefundId) {
        this.inGoodsRefundId = inGoodsRefundId;
    }
    public String getSaleId() {
        return saleId;
    }

    public void setSaleId(String saleId) {
        this.saleId = saleId;
    }
    public String getGoodsTransferId() {
        return goodsTransferId;
    }

    public void setGoodsTransferId(String goodsTransferId) {
        this.goodsTransferId = goodsTransferId;
    }
    public String getBorrowOutId() {
        return borrowOutId;
    }

    public void setBorrowOutId(String borrowOutId) {
        this.borrowOutId = borrowOutId;
    }
    public String getBorrowInBackId() {
        return borrowInBackId;
    }

    public void setBorrowInBackId(String borrowInBackId) {
        this.borrowInBackId = borrowInBackId;
    }
    public String getDeliveryOrg() {
        return deliveryOrg;
    }

    public void setDeliveryOrg(String deliveryOrg) {
        this.deliveryOrg = deliveryOrg;
    }
    public String getDeliveryNo() {
        return deliveryNo;
    }

    public void setDeliveryNo(String deliveryNo) {
        this.deliveryNo = deliveryNo;
    }
    public BigDecimal getDeliveryAmt() {
        return deliveryAmt;
    }

    public void setDeliveryAmt(BigDecimal deliveryAmt) {
        this.deliveryAmt = deliveryAmt;
    }
    public String getSettAccountId() {
        return settAccountId;
    }

    public void setSettAccountId(String settAccountId) {
        this.settAccountId = settAccountId;
    }
    public String getMakeUserId() {
        return makeUserId;
    }

    public void setMakeUserId(String makeUserId) {
        this.makeUserId = makeUserId;
    }
    public Date getMakeTime() {
        return makeTime;
    }

    public void setMakeTime(Date makeTime) {
        this.makeTime = makeTime;
    }
    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }
    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }
    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }
    public String getCompanyId() {
        return companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "HouseOut{" +
            "id=" + id +
            ", close=" + close +
            ", houseId=" + houseId +
            ", no=" + no +
            ", houseWaitOutId=" + houseWaitOutId +
            ", type=" + type +
            ", inGoodsRefundId=" + inGoodsRefundId +
            ", saleId=" + saleId +
            ", goodsTransferId=" + goodsTransferId +
            ", borrowOutId=" + borrowOutId +
            ", borrowInBackId=" + borrowInBackId +
            ", deliveryOrg=" + deliveryOrg +
            ", deliveryNo=" + deliveryNo +
            ", deliveryAmt=" + deliveryAmt +
            ", settAccountId=" + settAccountId +
            ", makeUserId=" + makeUserId +
            ", makeTime=" + makeTime +
            ", userId=" + userId +
            ", date=" + date +
            ", remark=" + remark +
            ", time=" + time +
            ", companyId=" + companyId +
        "}";
    }
}
